<template>
  <div class="popo">
    <div class="eert">
      <router-link to="eer1">好房</router-link>
      <router-link to="eer2">发现</router-link>
      <router-link to="eer3">直播</router-link>
      <router-link to="eer4">行情</router-link>
      <router-link to="eer5">踩盘</router-link>
      <span class="iconfont icon-sousuo2"></span>
    </div>
          
    <router-view/>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>
.popo{
  width: 94%;
  height: .47rem;
  margin: auto;
}
.eert{
  width: 100%;
  height: 50px;
  background: #ffffff;
  display: flex;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  z-index: 420;
}
.eert a{
  width: 20%;
  align-self: center;
  line-height: 16%;
  font-size: .16rem;
  font-weight: 700;
  color: black;
  position: relative;
}
.eert span{
  width: 20%;
  height: 100%;
  text-align: center;
  line-height: .47rem;
  font-size: .2rem;
  font-weight: 700;
}
.eert a.router-link-exact-active:before{
  content: "";
  width: .2rem;
  height: .05rem;
  display: block;
  background: #135ef5;
  position: absolute;
  border-radius: .1rem;
  left: .05rem;
  bottom: -0.2rem;
}

</style>
